package com.ldk.framework.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.ldk.base.framework.entity.BaseEntity;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
* CommentTouser实体类
* @author mqy
*/
public class CommentTouser extends BaseEntity {

	private static final long serialVersionUID = -927936095595016081L;
	/**
	* 评价单号
	*/
	private String   commentNo;
	/**
	* 评价人
	*/
	private String   fromOpenId;
	/**
	* 可以是订单号,可以是司机
	*/
	private String   toOrderNo;
	/**
	* 评价到人的openId
	*/
	private String   toOpenId;
	/**
	 * 评价星级
	 */
	private java.lang.Integer   star;
	/**
	* 评价内容
	*/
	private String   content;
	/**
	* 评价时间
	*/
	private Long   time;
	/**
	* 是否过滤,1不过滤0过滤,防止评价违规违法内容
	*/
	private Boolean   enabled;
	/**
	 * 关联司机
	 */
	private LinkDriver  linkDriver;

	/**
	 * 管理员地区关键字搜索
	 */
	@JSONField(serialize=false)
	@JsonIgnore
	private String searchAreaKey;

	public LinkDriver getLinkDriver() {
		return linkDriver;
	}

	public void setLinkDriver(LinkDriver linkDriver) {
		this.linkDriver = linkDriver;
	}

	public String getCommentNo() {
		return commentNo;
	}
	public void setCommentNo (String commentNo){
    	this.commentNo = commentNo;
	}
	public String getFromOpenId() {
		return fromOpenId;
	}
	public void setFromOpenId (String fromOpenId){
    	this.fromOpenId = fromOpenId;
	}
	public String getToOrderNo() {
		return toOrderNo;
	}
	public void setToOrderNo (String toOrderNo){
    	this.toOrderNo = toOrderNo;
	}
	public String getToOpenId() {
		return toOpenId;
	}
	public void setToOpenId (String toOpenId){
    	this.toOpenId = toOpenId;
	}

	public Integer getStar() {
		return star;
	}

	public void setStar(Integer star) {
		this.star = star;
	}

	public String getContent() {
		return content;
	}
	public void setContent (String content){
    	this.content = content;
	}
	public Long getTime() {
		return time;
	}
	public void setTime (Long time){
    	this.time = time;
	}
	public Boolean getEnabled() {
		return enabled;
	}
	public void setEnabled (Boolean enabled){
    	this.enabled = enabled;
	}
	public String getSearchAreaKey() {
		return searchAreaKey;
	}
	public void setSearchAreaKey(String searchAreaKey) {
		this.searchAreaKey = searchAreaKey;
	}
}
